    //DES 加密
            function encryptByDES(message, key) {
				var deMessage = CryptoJS.enc.Utf8.parse(message);
				var key = CryptoJS.enc.Base64.parse(key);
				var iv = "";
				var ivBts = CryptoJS.enc.Utf8.parse(iv);
				var desOp = {
					mode: CryptoJS.mode.CBC,
					padding: CryptoJS.pad.Pkcs7,
					iv: ivBts
				};
				var encrypted = CryptoJS.TripleDES.encrypt(deMessage, key, desOp);
				var enMessage = encrypted.ciphertext.toString(CryptoJS.enc.Base64);
				return enMessage;
			}
                //DES 解密
            function decryptByDES(enMessage, key) {
				var key = CryptoJS.enc.Base64.parse(key);
				var iv = "";
				var ivBts = CryptoJS.enc.Utf8.parse(iv);
				var desOp = {
					mode: CryptoJS.mode.CBC,
					padding: CryptoJS.pad.Pkcs7,
					iv: ivBts
				};
				var decryptpted = CryptoJS.TripleDES.decrypt({
					ciphertext: CryptoJS.enc.Base64.parse(enMessage)
				}, key, desOp); 
                return decryptpted.toString(CryptoJS.enc.Utf8);
            }
